package com.example.mobile2021606140lhq0604;

import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainTitle;
    private TextView tvMainConnState;
    private TextView tvMainReadOrWrite;
    private TextView tvMainVersion;
    private TextView tvMainPath;
    private Button btnMainOpenDB;
    private Button btnMainCloseDB;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();


    }

    private void initView() {
        tvMainTitle = (TextView) findViewById(R.id.tvMainTitle);
        tvMainConnState = (TextView) findViewById(R.id.tvMainConnState);
        tvMainReadOrWrite = (TextView) findViewById(R.id.tvMainReadOrWrite);
        tvMainVersion = (TextView) findViewById(R.id.tvMainVersion);
        tvMainPath = (TextView) findViewById(R.id.tvMainPath);
        btnMainOpenDB = (Button) findViewById(R.id.btnMainOpenDB);
        btnMainCloseDB = (Button) findViewById(R.id.btnMainCloseDB);
    }
}